testsuite: Fix builder test on Windows/MSVC
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 1 Aug 2017 08:57:11 +0000 (16:57 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 15 Sep 2017 13:41:15 +0000 (21:41 +0800)
commit60297b9fc7d783f13e46bc8dfa6605a9be619f54
tree0be800e60936f537bb5d03f95044f196d970a414
parent0332dbca94c157034588468e2655746818d4bbf3
testsuite: Fix builder test on Windows/MSVC

Visual Studio does not support things like -Wl,export-dynamic, so we
need to export those symbols by using __declspec(dllexport).  So, we
decorate these with macros which we define accordingly for this purpose.

https://bugzilla.gnome.org/show_bug.cgi?id=785210
testsuite/gtk/builder.c
testsuite/gtk/meson.build